package com.ruoyi.redtea.dualprevent.domain.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.ruoyi.common.core.annotation.DefaultDate;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 区域表(TrainRegion)表实体类
 *
 * @author makejava
 * @since 2024-05-13 14:19:29
 */
@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("train_region")
public class TrainRegion extends Model<TrainRegion> {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //区域名称
    private String regionName;
    //区域类型
    private Integer regionType;
    //负责人id,多个用,分割
    private String dutyPersonId;
    //3d数据点的集合
    private String dataGraphicPoints;
    //区域固有风险（风险四色图用到）
    private String regionFixRiskLevel;
    //更新时间
    @DefaultDate
    public Date updateTime;
    //创建时间
    private Date createTime;
    @TableLogic
    private Integer isDel;
}


